<%@page import="java.util.ArrayList"%>
<%@page import="com.jlrdb.model.TvBroadcast"%>
<%@page import="com.jlrdb.model.TvBroadcasts"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>View Tv Broadcasts</title>
<script type="text/javascript" src="/script/pagination.js"></script>
<link rel="stylesheet" type="text/css" href="/css/pagination.css">
</head>
<body>
	<%
		TvBroadcasts tvBroadcasts = (TvBroadcasts) request
			.getAttribute("tvBroadcasts");
		String geography=(String)request.getAttribute("geographic_region");
		if(!geography.equalsIgnoreCase("none"))
		{
	%>
	<P>
		Geographic Region: <font color="blue"><%=geography%></font>
	</p>
	<%
		}
	%>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<font color="red">click on the country to view details</font>
	<table border=1 id="tablepaging" class="yui">
		<thead>
			<tr>
				<%
					if(geography.equalsIgnoreCase("none"))
												{
				%>
				<th><div style="width: 150px">Geographic Region</div></th>
				<%
					}
				%>
				<th><div style="width: 130px">Country</div></th>
				<th><div style="width: 80px">Dtt Standard</div></th>
				<!-- 				<th>Dtt Status</th> -->
				<th><div style="width: 100px">Analog Standard</div></th>
				<!-- 				<th>Aso Date Start</th> -->
				<!-- 				<th>Aso Date Completion</th> -->
				<!-- 				<th>Aso Status</th> -->
				<!-- 				<th>Dso Date Start</th> -->
				<!-- 				<th>Dso Date Completion</th> -->
				<!-- 				<th>Dso Status</th> -->
				<!-- 				<th>Next Transition Planned</th> -->
				<!-- 				<th>Standard Transition Into</th> -->
				<!-- 				<th>Status</th> -->
				<!-- 				<th>Start Date</th> -->
				<!-- 				<th><div style="width: 450px" >Notes</div></th> -->
				<!-- 				<th>Status Confirmed</th> -->
				<!-- 				<th>Last Date Verified</th> -->
				<th><div style="width: 250px">Video Format Supported</div></th>
				<!-- 				<th>Operators</th> -->
				<!-- 				<th><div style="width: 200px" >Mux Details</div></th> -->
				<!-- 				<th>Dtt Coverage</th> -->
				<!-- 				<th>Hd Present</th> -->
				<th><div style="width: 240px">Audio Formats</div></th>
				<th><div style="width: 100px">Freq. Bands</div></th>
				<!-- 				<th>Interactive Standards</th> -->
				<th><div style="width: 150px">Channel Bandwidth</div></th>
				<!-- 				<th>Carrier Type</th> -->
				<!-- 				<th>Modulation</th> -->
				<!-- 				<th><div style="width: 200px" >Broadcast Authority</div></th> -->
				<!-- 				<th>Itu Region</th> -->
				<!-- 				<th><div style="width: 250px" >Broadcasters</div></th> -->
				<!-- 				<th><div style="width: 400px" >Source Of Reference</div></th> -->
			</tr>
		</thead>
		<%
			for (TvBroadcast brd : tvBroadcasts.getTvBroadcasts()) {
		%>
		<tbody>
			<tr class="even">
				<%
					if(geography.equalsIgnoreCase("none"))
												{
				%>
				<td><%=brd.getGeographic_Region()%></td>
				<%
					}
				%>
				<td><a href="/TvBroadcastServlet?action=viewTvBroadcastsNew&&country=<%=brd.getCountry()%>" target="_blank"><%=brd.getCountry()%></a></td>
				<td><%=brd.getDtt_Standard()%></td>
				<%-- 				<td><%=brd.getDtt_Status()%></td> --%>
				<td><%=brd.getAnalog_Standard()%></td>
				<%-- 				<td><%=brd.getAso_Date_Start()%></td> --%>
				<%-- 				<td><%=brd.getAso_Date_Completion()%></td> --%>
				<%-- 				<td><%=brd.getAso_Status()%></td> --%>
				<%-- 				<td><%=brd.getDso_Date_Start()%></td> --%>
				<%-- 				<td><%=brd.getAso_Date_Completion()%></td> --%>
				<%-- 				<td><%=brd.getDso_Status()%></td> --%>
				<%-- 				<td><%=brd.getNext_Transition_Planned()%></td> --%>
				<%-- 				<td><%=brd.getStandard_Transition_Into()%></td> --%>
				<%-- 				<td><%=brd.getStatus()%></td> --%>
				<%-- 				<td><%=brd.getStart_Date()%></td> --%>
				<%-- 				<td><%=brd.getNotes()%></td> --%>
				<%-- 				<td><%=brd.getStatus_Confirmed()%></td> --%>
				<%-- 				<td><%=brd.getLast_Date_Verified()%></td> --%>
				<td><%=brd.getVideo_Format_Supported()%></td>
				<%-- 				<td><%=brd.getOperators()%></td> --%>
				<%-- 				<td><%=brd.getMux_Details()%></td> --%>
				<%-- 				<td><%=brd.getDtt_Coverage()%></td> --%>
				<%-- 				<td><%=brd.getHd_Present()%></td> --%>
				<td><%=brd.getAudio_Formats()%></td>
				<td><%=brd.getFrequency_Bands()%></td>
				<%-- 				<td><%=brd.getInteractive_Standards()%></td> --%>
				<td><%=brd.getChannel_Bandwidth()%></td>
				<%-- 				<td><%=brd.getCarrier_Type()%></td> --%>
				<%-- 				<td><%=brd.getModulation()%></td> --%>
				<%-- 				<td><%=brd.getBroadcast_Authority()%></td> --%>
				<%-- 				<td><%=brd.getItu_Region()%></td> --%>
				<%-- 				<td><%=brd.getBroadcasters()%></td> --%>
				<%-- 				<td><%=brd.getSource_Of_Reference()%></td> --%>
			</tr>
			<%
				}
			%>
		</tbody>
	</table>
	<div id="pageNavPosition" style="padding-top: 8px" align="center"></div>
	<script type="text/javascript">
		var pager = new Pager('tablepaging', 20);
		pager.init();
		pager.showPageNav('pager', 'pageNavPosition');
		pager.showPage(1);
	</script>
</body>
</html>